Let's use a loop to solve this puzzle. Click on the PYTHON tab in the toolkit to find the right tools!

  • Go to and drag out Loop with Range. Change the number of times the loop repeats to 4.
  • Go to and drag out Move Forward. Change the number of pixels the sprite moves to 300.
  • Go to and drag out Turn Left.

Make sure you drop your commands inside of the for loop. They should have a purple block ····¬ in front of them.

To navigate the page using the TAB key, first press ESC to exit the code editor.

sprite.pen_down()
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)